configure bootprelay vlan include-secondary

configure bootprelay {ipv4 | ipv6} {vlan vlan_name} include-secondary {sequential | parallel | off}

Description

Configures DHCP smart relay mode to include secondary IP address as giaddr at VLAN level.

Syntax Description

ipv4

Specifies DHCPv4 BOOTP Relay service (default).

ipv6

Specifies DHCPv6 BOOTP Relay service.

vlan

Configure BOOTP relay for this VLAN, and overrides the VR level configuration.

vlan_name

Specifies the VLAN name.

include-secondary

(Optional) Use both primary and secondary address(es) of the client VLAN as gateway address.

sequential

Use primary and secondary address(es) of client VLAN in sequence after 3 retries (default if include-secondary is on).

parallel

Use primary and secondary address(es) of client VLAN in parallel.

off

Disable use of both primary and secondary address(es) of client VLAN as gateway address (default).

Default

IPv4 is the default relay service.

off is the default value, but sequential is the default if include-secondary is on.

Usage Guidelines

Use this command to configure DHCP smart relay mode to include the secondary IP address as giaddr at the VLAN level.

Example

The following command configures DHCPv4 BOOTP Relay service for the "vlan_100" VLAN, and uses both primary and secondary address(es) of the client VLAN as gateway address. This overrides the VR level configuration.

configure bootprelay ipv4 vlan vlan_100 include-secondary 

History

This command was first available in ExtremeXOS 15.4.

Platform Availability

This command is available on all Universal switches supported in this document.